<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<a href="https://www.baidu.com">百度</a>
		<a href="https://www.taobao.com" target="_blank">淘宝</a>
		
		<script type="text/javascript">
			var node=document.querySelector("a[target]");
			console.log(node);
		</script>
	</body>
</html>
